package com.andkrup.web.navigation {
	import com.andkrup.ds.ICommand;

	import flash.events.IEventDispatcher;	
	
	/**
	 * A widget or component that can make a Navigator issue navigational orders
	 * 
	 * NavigatorItem implementators should represent a single (1-n relationship)
	 * page-item in a site-map, so that there is no ambiguity to what item a user
	 * wanted to see, when selecting the NavigatorItem implementator.
	 * 
	 * MenuItems are prime-candidates for a NavigatorItem implementator
	 * 
	 * @author Andkrup
	 */
	public interface NavigatorItem extends IEventDispatcher {
		function get command():ICommand;
		function select():void;
	}
}
